﻿using PhotoGallery.Data;
using PhotoGallery.Data.Entity;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;

namespace PhotoGallery.Models.ViewModels
{
    public class AlbumViewModel
    {
        public AlbumInfo Album { get; set; }
        public IEnumerable<SelectListItem> selectList;

        public AlbumViewModel()
        {
            Album = new AlbumInfo();
            selectList = new[] {
                new SelectListItem(){Value = SharedAlbum.Private.ToString(),Text="Private"},
                new SelectListItem(){Value = SharedAlbum.Public.ToString(),Text="Public"},
                new SelectListItem(){Value = SharedAlbum.AllUsers.ToString(),Text="All users"},
            };
        }
    }
}